package com.xfreelance.qcshop.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class Goods {
    @TableId(type = IdType.AUTO)
    Long id;
    String name;
    String code;
    String imgUrl;
    @TableField(fill = FieldFill.INSERT)
    Timestamp createTime;
    @TableField(fill = FieldFill.UPDATE)
    Timestamp updateTime;
    Timestamp deleteTime;
}
